import { createRouter, createWebHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'

const routes = [
  {
    path: '/',
    name: 'home',
    component: HomeView
  },{path: '/ability', name: 'ability', component: () => import('../views/AbilityView.vue')}
  ,{path: '/grow', name: 'grow', component: () => import('../views/GrowView.vue')}
  ,{path: '/file', name: 'file', component: () => import('../views/File.vue')}
  ,{path: '/part', name: 'part', component: () => import('../views/partnert.vue')}
]

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
})

export default router
